package com.jl.magic.montage.model;

import java.awt.image.BufferedImage;

/**
 * @author jiangli
 * 镶嵌图片
 */
public class Inlay {

    /**
     * 编号
     */
    private int no;

    /**
     * 镶嵌图片原始内容
     */
    private BufferedImage bufferedImage;

    /**
     * 主色调
     */
    private int[] rgb;

    /**
     * 镶元图片主色调与主图主色调相似度
     *
     * @see com.jl.magic.color.Similarity
     */
    private Double distance;

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public BufferedImage getBufferedImage() {
        return bufferedImage;
    }

    public void setBufferedImage(BufferedImage bufferedImage) {
        this.bufferedImage = bufferedImage;
    }

    public int[] getRgb() {
        return rgb;
    }

    public void setRgb(int[] rgb) {
        this.rgb = rgb;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

}
